3.354 \(\int \frac{x^2}{a-b x^3} \, dx\)

Optimal. Leaf size=16 \[ -\frac{\log \left (a-b x^3\right )}{3 b} \]

[Out]

-Log[a - b*x^3]/(3*b)

________________________________________________________________________________________

Rubi [A]  time = 0.0034309, antiderivative size = 16, normalized size of antiderivative = 1., number of steps used = 1, number of rules used = 1, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.071, Rules used = {260} \[ -\frac{\log \left (a-b x^3\right )}{3 b} \]

Antiderivative was successfully verified.

[In]

Int[x^2/(a - b*x^3),x]

[Out]

-Log[a - b*x^3]/(3*b)

Rule 260

Int[(x_)^(m_.)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Simp[Log[RemoveContent[a + b*x^n, x]]/(b*n), x] /; FreeQ
[{a, b, m, n}, x] && EqQ[m, n - 1]

Rubi steps

\begin{align*} \int \frac{x^2}{a-b x^3} \, dx &=-\frac{\log \left (a-b x^3\right )}{3 b}\\ \end{align*}

Mathematica [A]  time = 0.002885, size = 16, normalized size = 1. \[ -\frac{\log \left (a-b x^3\right )}{3 b} \]

Antiderivative was successfully verified.

[In]

Integrate[x^2/(a - b*x^3),x]

[Out]

-Log[a - b*x^3]/(3*b)

________________________________________________________________________________________

Maple [A]  time = 0.002, size = 16, normalized size = 1. \begin{align*} -{\frac{\ln \left ( b{x}^{3}-a \right ) }{3\,b}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2/(-b*x^3+a),x)

[Out]

-1/3/b*ln(b*x^3-a)

________________________________________________________________________________________

Maxima [A]  time = 1.05147, size = 20, normalized size = 1.25 \begin{align*} -\frac{\log \left (b x^{3} - a\right )}{3 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(-b*x^3+a),x, algorithm="maxima")

[Out]

-1/3*log(b*x^3 - a)/b

________________________________________________________________________________________

Fricas [A]  time = 1.38924, size = 31, normalized size = 1.94 \begin{align*} -\frac{\log \left (b x^{3} - a\right )}{3 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(-b*x^3+a),x, algorithm="fricas")

[Out]

-1/3*log(b*x^3 - a)/b

________________________________________________________________________________________

Sympy [A]  time = 0.171364, size = 12, normalized size = 0.75 \begin{align*} - \frac{\log{\left (- a + b x^{3} \right )}}{3 b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2/(-b*x**3+a),x)

[Out]

-log(-a + b*x**3)/(3*b)

________________________________________________________________________________________

Giac [A]  time = 1.12435, size = 22, normalized size = 1.38 \begin{align*} -\frac{\log \left ({\left | b x^{3} - a \right |}\right )}{3 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2/(-b*x^3+a),x, algorithm="giac")

[Out]

-1/3*log(abs(b*x^3 - a))/b